
// 业务状态码
export enum StatusCode {
    SUCCESS = 200,
    CREATED = 201,
    BAD_REQUEST = 400,
    UNAUTHORIZED = 401,
    FORBIDDEN = 403,
    NOT_FOUND = 404,
    INTERNAL_ERROR = 500,
  }
// 响应提示
  export enum ResponseMessage {
    SUCCESS = '操作成功',
    CREATED = '创建成功',
    BAD_REQUEST = '请求错误',
    UNAUTHORIZED = '未授权',
    FORBIDDEN = '禁止访问',
    NOT_FOUND = '资源未找到',
    INTERNAL_ERROR = '服务器内部错误',
    LOGIN_SUCCESS = '登录成功',
    LOGIN_FAILED = '登录失败',
    LOGOUT_SUCCESS = '退出成功',
    USER_EXISTS = '用户名已存在',
    USER_NOT_FOUND = '用户不存在',
    PASSWORD_ERROR = '密码错误',
  }